package cn.wolfcode.enums;

import lombok.Getter;
import lombok.Setter;

/**
 * Author wyy
 * Date 2021/1/17 15:58
 **/
@Getter
public enum ReportEnum {
    BUSINESS("门店","b.name"),
    YEAR("年","DATE_FORMAT(c.pay_time,'%Y')"),
    MONTH("月","DATE_FORMAT(c.pay_time,'%Y-%m')"),
    DAY("日","DATE_FORMAT(c.pay_time,'%Y-%m-%d')");

    private final String name;
    private final String value;

    ReportEnum(String name, String value) {
        this.name = name;
        this.value = value;
    }
}
